home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Hyper / T / ToolKit 5.0.1.sit / ToolKit™ / ToolKit™ XCMDs / ToolKit™ XCMDs.rsrc / TEXT_10894_TKgetFile.txt < prev    next >
Encoding:
Text File  |  1994-05-12  |  1.1 KB  |  57 lines

  1. TKgetFile
  2.  
  3.       XFCN DLOG DITL
  4.       No. 4414
  5.       Version:  5.0 (public domain)
  6.       Copyright ¬© 1990 - 1994 by Stan Gilbert
  7. _____________________________________________________
  8.  
  9. TKgetFile returns the full pathname of a file selected from a larger SFGetFile dialog box.  Allows prompt and type specification.
  10.  
  11.  
  12.  
  13.                          ∂
  14. Examples
  15.  
  16. ÓÊTKgetFile()
  17. ‚Äö‚Ä∫shows version number
  18.  
  19. ‚Äö‚Ä∫get TKgetFile("")
  20. ‚Äö‚Ä∫default prompt, all types
  21. ‚›
  22. ‚Äö‚Ä∫get TKgetFile("","TEXT")
  23. ‚Äö‚Ä∫default prompt, TEXT files
  24. ‚›
  25. ‚Äö‚Ä∫put TKgetFile("File to DELETE?","STAK") into fName
  26. ‚Äö‚Ä∫user defined prompt, HyperCard‚Ñ¢ stacks only
  27.  
  28.  
  29. Parameters
  30.  
  31. Parameter 1
  32.  
  33. prompt:  prompt to appear at top of dialog box (default is "Select file to OPEN‚Ķ")
  34.  
  35. Parameter 2
  36.  
  37. type:  specify type of files shown in selection window
  38.  
  39.  
  40. Requirements
  41.  
  42. ƒ±√äDLOG‚Äπresource # 4414   "TKgetFile"
  43. ƒ±√äDITLÔ¨Åresource # 4414   "TKgetFile"
  44.  
  45.  
  46. Return Values
  47.  
  48. √ì√äFill pathname of file selected.
  49.  
  50.  
  51. Related Topics
  52.  
  53. ÓÊTKpathname
  54.  
  55.  
  56. °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
  57.